package com.staff.service;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;

import com.common.util.AJAXResultMessage;
import com.staff.entity.StaffResume;
import com.staff.entity.dto.StaffResumeQueryDTO;


public interface IStaffResumeService {
	public AJAXResultMessage saveOrUpdate(StaffResume staffResume);
	public AJAXResultMessage saveOrUpdate(StaffResumeQueryDTO staffResumeQueryDTO);
	
	public void delete(StaffResume staffResume);
	public StaffResume findOne(Long id);
	public List<StaffResume> findAll();
	public void delete(List<Long>ids);
	//动态条件查询
	public Page<StaffResumeQueryDTO> findAll(Specification<StaffResume> spec, Pageable pageable);
}
